package io.renren.modules.workflow.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @Desc 流程表单自定义domain
 * @Author landlord
 * @Date 2021/7/13 16:38
 */
public class ActBusFormDefinition {

    /**
     * 流程表单自定义ID
     */
    private String abfdId;

    /**
     * 表单名称
     */
    private String abfdTitle;

    /**
     * 表单描述
     */
    private String abfdDescription;

    /**
     * 表名
     */
    private String abfdTableName;

    /**
     * 表单JSON
     */
    private String abfdFormJson;
    /**
     * 表单发布状态
     */
    private String abfdStatus;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    public void setAbfdId(String abfdId) {
        this.abfdId = abfdId;
    }

    public String getAbfdId() {
        return abfdId;
    }

    public void setAbfdTitle(String abfdTitle) {
        this.abfdTitle = abfdTitle;
    }

    public String getAbfdTitle() {
        return abfdTitle;
    }

    public void setAbfdDescription(String abfdDescription) {
        this.abfdDescription = abfdDescription;
    }

    public String getAbfdDescription() {
        return abfdDescription;
    }

    public void setAbfdTableName(String abfdTableName) {
        this.abfdTableName = abfdTableName;
    }

    public String getAbfdTableName() {
        return abfdTableName;
    }

    public void setAbfdFormJson(String abfdFormJson) {
        this.abfdFormJson = abfdFormJson;
    }

    public String getAbfdFormJson() {
        return abfdFormJson;
    }

    public void setAbfdStatus(String abfdStatus) {
        this.abfdStatus = abfdStatus;
    }

    public String getAbfdStatus() {
        return abfdStatus;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("abfdId", getAbfdId())
                .append("abfdTitle", getAbfdTitle())
                .append("abfdDescription", getAbfdDescription())
                .append("abfdTableName", getAbfdTableName())
                .append("abfdFormJson", getAbfdFormJson())
                .append("abfdStatus", getAbfdStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
